package gui.catalogues.colors;

import java.util.EventObject;

public class ColorFormEvent extends EventObject {
	
	private String color, code;

	public ColorFormEvent(Object source) {
		super(source);
	}
	
	public ColorFormEvent(Object source, String color, String code) {
		super(source);
		this.color = color;
		this.code = code;
	}

	/**
	 * @return the color
	 */
	public String getColor() {
		return color;
	}

	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

}
